home *** CD-ROM | disk | FTP | other *** search
- DSM(3I) Last changed: 4-13-99
-
-
- NNAAMMEE
- DDSSMM__CCHHUUNNKKSSIIZZEE, DDSSMM__DDIISSTTRRIIBBUUTTIIOONN__BBLLOOCCKK, DDSSMM__DDIISSTTRRIIBBUUTTIIOONN__CCYYCCLLIICC,
- DDSSMM__DDIISSTTRRIIBBUUTTIIOONN__SSTTAARR, DDSSMM__IISSDDIISSTTRRIIBBUUTTEEDD, DDSSMM__IISSRREESSHHAAPPEEDD,
- DDSSMM__NNUUMMCCHHUUNNKKSS, DDSSMM__NNUUMMTTHHRREEAADDSS, DDSSMM__RREEMM__CCHHUUNNKKSSIIZZEE, DDSSMM__TTHHIISS__CCHHUUNNKKSSIIZZEE,
- DDSSMM__TTHHIISS__SSTTAARRTTIINNGGIINNDDEEXX, DDSSMM__TTHHIISS__TTHHRREEAADDNNUUMM - Query intrinsics for
- distributed arrays
-
- SSYYNNOOPPSSIISS
- DDSSMM__CCHHUUNNKKSSIIZZEE (([AARRRRAAYY==]_a_r_r_a_y,, [DDIIMM==]_d_i_m))
- DDSSMM__DDIISSTTRRIIBBUUTTIIOONN__BBLLOOCCKK (([AARRRRAAYY==]_a_r_r_a_y,, [DDIIMM==]_d_i_m))
- DDSSMM__DDIISSTTRRIIBBUUTTIIOONN__CCYYCCLLIICC (([AARRRRAAYY==]_a_r_r_a_y,, [DDIIMM==]_d_i_m))
- DDSSMM__DDIISSTTRRIIBBUUTTIIOONN__SSTTAARR (([AARRRRAAYY==]_a_r_r_a_y,, [DDIIMM==]_d_i_m))
- DDSSMM__IISSDDIISSTTRRIIBBUUTTEEDD (([AARRRRAAYY==]_a_r_r_a_y))
- DDSSMM__IISSRREESSHHAAPPEEDD (([AARRRRAAYY==]_a_r_r_a_y))
- DDSSMM__NNUUMMCCHHUUNNKKSS (([AARRRRAAYY==]_a_r_r_a_y,, [DDIIMM==]_d_i_m))
- DDSSMM__NNUUMMTTHHRREEAADDSS (([AARRRRAAYY==]_a_r_r_a_y,, [DDIIMM==]_d_i_m))
- DDSSMM__RREEMM__CCHHUUNNKKSSIIZZEE (([AARRRRAAYY==]_a_r_r_a_y,, [DDIIMM==]_d_i_m,, [IINNDDEEXX==]_i_n_d_e_x))
- DDSSMM__TTHHIISS__CCHHUUNNKKSSIIZZEE (([AARRRRAAYY==]_a_r_r_a_y,, [DDIIMM==]_d_i_m,, [IINNDDEEXX==]_i_n_d_e_x))
- DDSSMM__TTHHIISS__SSTTAARRTTIINNGGIINNDDEEXX (([AARRRRAAYY==]_a_r_r_a_y,, [DDIIMM==]_d_i_m,, [IINNDDEEXX==]_i_n_d_e_x))
- DDSSMM__TTHHIISS__TTHHRREEAADDNNUUMM (([AARRRRAAYY==]_a_r_r_a_y,, [DDIIMM==]_d_i_m,, [IINNDDEEXX==]_i_n_d_e_x))
-
- IIMMPPLLEEMMEENNTTAATTIIOONN
- IRIX systems
-
- MIPSpro 7 Fortran 90, MIPSpro Fortran 77
-
- SSTTAANNDDAARRDDSS
- Fortran extension
-
- DDEESSCCRRIIPPTTIIOONN
- You can use the Dynamic Shared Memory (DSM) functions to obtain
- information about an individual dimension of a distributed array. All
- functions work with 64-bit integers.
-
- The DSM functions are as follows:
-
- FFuunnccttiioonn PPuurrppoossee
-
- DDSSMM__CCHHUUNNKKSSIIZZEE Returns the chunk size (ignoring partial chunks)
- in the given dimension for each of BBLLOOCCKK, CCYYCCLLIICC,
- and asterisk (**) distributions.
-
- DDSSMM__DDIISSTTRRIIBBUUTTIIOONN__BBLLOOCCKK
- Returns 00 (FFAALLSSEE) or 11 (TTRRUUEE) for a query on
- whether or not the specified dimension has a BBLLOOCCKK
- distribution.
-
- DDSSMM__DDIISSTTRRIIBBUUTTIIOONN__CCYYCCLLIICC
- Returns 00 (FFAALLSSEE) or 11 (TTRRUUEE) for a query on
- whether or not the specified dimension has a
- CCYYCCLLIICC distribution.
-
- DDSSMM__DDIISSTTRRIIBBUUTTIIOONN__SSTTAARR
- Returns 00 (FFAALLSSEE) or 11 (TTRRUUEE) for a query on
- whether or not the specified dimension has an
- asterisk (**) distribution.
-
- DDSSMM__IISSDDIISSTTRRIIBBUUTTEEDD Returns 00 (FFAALLSSEE) or 11 (TTRRUUEE) for a query on
- whether or not array is distributed (regular or
- reshaped) or not.
-
- DDSSMM__IISSRREESSHHAAPPEEDD Returns 00 (FFAALLSSEE) or 11 (TTRRUUEE) for a query on
- whether or not array is reshaped or not.
-
- DDSSMM__NNUUMMCCHHUUNNKKSS Returns the number of chunks (including partial
- chunks) in the given _d_i_m for each of BBLLOOCCKK,
- CCYYCCLLIICC, and asterisk (**) distributions.
-
- DDSSMM__NNUUMMTTHHRREEAADDSS Returns the number of threads in the specified
- dimension of a distributed array.
-
- DDSSMM__RREEMM__CCHHUUNNKKSSIIZZEE Returns the remaining chunk size from _i_n_d_e_x to the
- end of the current chunk, inclusive of each end
- point. Essentially it is the distance from _i_n_d_e_x
- to the end of that contiguous block, inclusive.
-
- DDSSMM__TTHHIISS__CCHHUUNNKKSSIIZZEE Returns the chunk size for the chunk containing
- the specified _i_n_d_e_x for each of BBLLOOCCKK, CCYYCCLLIICC, and
- asterisk (**). This value may be different from
- DDSSMM__CCHHUUNNKKSSIIZZEE due to edge effects that can lead to
- a partial chunk.
-
- DDSSMM__TTHHIISS__SSTTAARRTTIINNGGIINNDDEEXX
- Returns the starting index value of the chunk
- containing the supplied _i_n_d_e_x.
-
- DDSSMM__TTHHIISS__TTHHRREEAADDNNUUMM Returns the thread number for the chunk containing
- the given index value for each of BBLLOOCCKK, CCYYCCLLIICC,
- and asterisk (**) distributions.
-
- These functions accept the following arguments:
-
- _a_r_r_a_y An array of any data type.
-
- _d_i_m The array dimension for which you need information. The
- array dimensions are numbered starting at 1. Must be of
- type integer.
-
- _i_n_d_e_x Must be of type integer.
-
- The names of these intrinsics cannot be passed as arguments.
-
- RREETTUURRNN VVAALLUUEESS
- The return value is of type integer. If you are using the MIPSpro 7
- Fortran 90 compiler, the value is IINNTTEEGGEERR((KKIINNDD==88)).
-
- These functions return --11 in case of an error. For
- DDSSMM__TTHHIISS__SSTTAARRTTIINNGGIINNDDEEXX, however, --11 can be a valid return value.
-
- SSEEEE AALLSSOO
- _M_I_P_S_p_r_o _7 _F_o_r_t_r_a_n _9_0 _C_o_m_m_a_n_d_s _a_n_d _D_i_r_e_c_t_i_v_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l
-
- mmpp(3F)
-
- _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l for the printed version of this
- man page.
-